/**
 * ButtonFactory.java
 *
 * @author:  John Thomason
 *  Course:  CS223
 *  Assign:  1
 * Seminar:  4
 *    Date:  Jan 29, 2009
 */

// Assigned Package
package calc;

// Package Imports
import java.awt.*;
import javax.swing.*;

/**
 * ButtonFactory Class
 */
public class ButtonFactory
{
    //Instance Variables

    //Constructors
    private ButtonFactory(){}

    /**
     * Create a JButton with title and font
     * @param bTitle    The text to display
     * @param font      The font characteristics
     * @return          A Reference to a JButton Object
     */
    public static JButton createJButton(String bTitle, Font font){
        JButton jbt = new JButton(bTitle);
        jbt.setFont(font);
        return jbt;
    }//createJButton()

}//ButtonFactory Class
